<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<base href="<%=basePath%>">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
		<meta charset="utf-8" />
		<title>船舶基础资料管理</title>
		<meta name="description" content="" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />
		
		<!-- 文本框 -->
		<link rel="stylesheet" href="static/ace/css/riverboat.css" />
		<script type="text/javascript" src="static/js/jquery-1.7.2.js" />
		<!--提示框-->
		<script type="text/javascript" src="static/js/jquery.tips.js"></script>
		<!-- 日期框 -->
<!-- 		<link rel="stylesheet" href="static/ace/css/datepicker.css" /> -->
 		<!-- jsp文件头和头部 -->
<%-- 		<%@ include file="../../../system/index/top.jsp"%> --%>
</head>
		 
<body class="no-skin">
	<!-- /section:basics/navbar.layout -->
	<div class="main-container" id="main-container">
<input type="button" name="costModifyButton" value="新增费用" onclick="costModifyButton()" />
	</div>
</body>
<script type="text/javascript">
function costModifyButton(){
	alert("1");
	 $.ajax({
         type: "POST",
         url: '<%=basePath%>costModify/consModifyInfo',
         dataType: 'json',
         cache: false,
         success: function (data) {
        	 alert("费用添加成功")
//         	 window.location.reload();
        	 
         }
     });
}

</script>
</html>